<table width="100%" cellpadding="0" cellspacing="0">
	<tr>
		<td height="1" bgcolor="#DBE1E5"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
	</tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0" bgcolor="#F8F9F9">	
	<tr>
		<td width="15"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
		<td width="25%" height="25" class="defaultFormLabel">{if $el.name}{t t=$el.name}{else}{t t=$name}{/if}</td>
		<td>
			{ext->get_field_value assign="value" name=$el.name parent=$data.page.id}
			{ext->class_function class="realstate" func="get_all_product_groups" assign="groups_list"}
			{foreach from=$groups_list item="el2"}
			{if $el2.id == $value}
				{assign var="value_just_display" value=$el2}
			{/if}
			{/foreach}
			<input type="text" name="{$el.name}_just_display" style="cursor:pointer " value="{if $value_just_display.name}{$value_just_display.name|escape:"quotes"}{else}{t t='Norėdami pasirinkti grupę spauskite čia'}{/if}"  class="defaultInputText" readonly="1" onClick="openCenteredOnOpenerWindow('index.php?admin=1&popup=48&form={$data.page.id}&name={$el.name}&group={$value_just_display.parent}{if !$value_just_display.name}&fresh_select=1{else}&selected={$value_just_display.id}{/if}','realstate_group_list',500,500,1,1); return false">
			<input type="hidden" name="{$el.name}" value="{if $value}{$value}{/if}">
			
		</td>		
	</tr>
</table>
